package main

import (
	"fmt"
	"reflect"
)

func PrintType(value interface{}) {
	t := reflect.TypeOf(value)
	fmt.Printf("Type: %s, Value: %v\n", t, value)
}

func main() {
	PrintType(123)
	PrintType("hello")
	PrintType([]int{1, 2, 3})
}
